<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta content="zh-cn" http-equiv="Content-Language" />
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,  user-scalable=no"/>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]images/favicon.ico" rel="shortcut icon" type="image/x-icon" media="screen" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_main_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_sticky.js"></script>
		<script type="text/javascript">
			function page_win() {
				var height = $(window).height();
				return height;
			}
			function locationout() {
				window.location.replace('[%$loginlink%]');
			}
		</script>
	</head>

	<body id="espcms_style_allmenu">
		<div class="main">
			[%list name=head%]
			[%list name=menu%]
			[%list name=appSidebar class=app_isleft:$appmodul_read.menu_isleft,app_modul:$appmodul_read.menu_left_modul%]
			<section class="espcms_content_wrapper" id="content_wrapper">
				<header id="espcms_topbar" class="kill_copy">
					<div class="espcms_tab_button">
						<ul></ul>
					</div>
				</header>
				<section id="espcms_tab_content" class="espcms_content_layout"></section>
				<input type="hidden" name="espcms_service_tab_link" id="espcms_service_tab_link" value="[%$link.join%]">
			</section>
		</div>
		<div id="espcms_slide_botton_div">
			<div id="espcms_slide_botton_top" class="espcms_slide_botton" title="[%pack:botton_pack-espcms_botton_uptop%]"><span class="espcms_icon_fa espcms_icon_fa-chevron-up"></span></div>
			<div id="espcms_slide_botton_bottom" class="espcms_slide_botton" title="[%pack:botton_pack-espcms_botton_upbottom%]"><span class="espcms_icon_fa espcms_icon_fa-chevron-down"></span></div>
		</div>
		<div id="page_bottom"></div>
		<script type="text/javascript">
			$(document).ready(function () {

				var main_h = $("#espcms_style_allmenu").height();
				var window_h = $(window).height();
				var page_h = main_h > window_h ? main_h : window_h;
				$('.espcms_sidebar_default').css({"height": page_h});

				$(window).resize(function () {
					main_h = $("#espcms_style_allmenu").height();
					window_h = $(window).height();
					page_h = main_h > window_h ? main_h : window_h;
					$('.espcms_sidebar_default').css({"height": page_h});
				});

				var is_sidebar = espcms_get_cookie_sidebar('[%$url_app%]');
				if (!$('.espcms_sidebar_default').width() || (is_sidebar == 0 && is_sidebar != 'undefined')) {
					$('.espcms_content_wrapper').css('margin-left', '0px');
				}

				if (is_sidebar == 0) {
					$('.espcms_sidebar_default').addClass('displaynone');
				} else {
					$('.espcms_sidebar_default').removeClass('displaynone');
				}
				$('.main').espcms_window_tab({
					'default_tab_name': '[%$appmodul_read.tab_name%]',
					'default_tab_url': '[%$appmodul_read.tablink%]',
					'link_tab_name': '[%$tab_name%]',
					'link_tab_url': '[%$tab_link%]',
					'link_tab_icon': '[%$tab_icon%]',
					'link_tab_close': '[%$tab_close%]'
				});
				$("#espcms_up_div").hide();
				$('.espcms_dialog_link').espcms_dig();
				$(window).scroll(function () {

					var scroll_size = $(window).scrollTop();
					var scroll_bottom = $(document).height() - $(window).height();
					if (scroll_size === 0) {
						$("#espcms_slide_botton_top").hide();
						$("#espcms_slide_botton_bottom").show();
					} else if (scroll_size > 50 && scroll_size < 100) {

						$("#espcms_slide_botton_bottom").show();
					} else if (scroll_size >= scroll_bottom) {

						$("#espcms_slide_botton_top").show();
						$("#espcms_slide_botton_bottom").hide();
					}
				});
				$("#espcms_slide_botton_top").click(function () {
					$('body,html').animate({scrollTop: 0}, 300);
				});
				$("#espcms_slide_botton_bottom").click(function () {
					$('html,body').animate({scrollTop: $('#page_bottom').offset().top}, 300);
				});
			});
		</script>
	</body>
</html>